package com.xueyi.system.BaseMyMsg.service.impl;

import com.xueyi.system.BaseMyMsg.domain.query.BaseMyMsgQuery;
import com.xueyi.system.BaseMyMsg.domain.dto.BaseMyMsgDto;
import com.xueyi.system.BaseMyMsg.service.IBaseMyMsgService;
import com.xueyi.system.BaseMyMsg.manager.IBaseMyMsgManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 我的消息管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BaseMyMsgServiceImpl extends BaseServiceImpl<BaseMyMsgQuery, BaseMyMsgDto, IBaseMyMsgManager> implements IBaseMyMsgService {

    /**
     * 查询我的消息对象列表 | 数据权限 | 附加数据
     *
     * @param baseMyMsg 我的消息对象
     * @return 我的消息对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseMyMsgMapper"})
    public List<BaseMyMsgDto> selectListScope(BaseMyMsgQuery baseMyMsg) {
        return baseManager.selectListExtra(baseMyMsg);
    }

}